package android.os.mock;

import android.os.IBinder;
import android.os.RemoteException;

import java.util.Map;

public class IMockManager {

    public int getPsState() throws RemoteException {
        return 0;
    }

    public boolean isPs(int uid) throws RemoteException {
        return false;
    }

    public boolean isPsUid(int uid) throws RemoteException {
        return false;
    }

    public String getPsInfo(String key) throws RemoteException {
        if (key.equals("A")) {
            throw new RemoteException();
        }
        return null;
    }

    public void setStaticEnv(String data, Map map, IMockListener listener) throws RemoteException {
    }

    public void setDynamicEnv(String data, Map map, IMockListener listener) throws RemoteException {

    }


    public static class Stub extends IMockManager {
        static IMockManager asInterface(IBinder binder) {
            return null;
        }
    }

}